package com.account.boot.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.account.boot.model.User;


public interface UserMapper {
    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);
    
    User selectByUid(String uid);
    
    User selectByName(String name);
    
    User selectByNameAndPassword(@Param("name")String name, @Param("password")String password);
    
    List<User> selectByPage(@Param("index")Integer index);
}